package com.itnoob.domain;

import java.util.List;

// 用户类，用于模拟用户信息，包括用户名、密码、角色列表和资源列表
public class User {
    private String username;
    private String password;
    private List<String> roles;
    private List<String> resources;

    public User(String username, String password, List<String> roles, List<String> resources) {
        this.username = username;
        this.password = password;
        this.roles = roles;
        this.resources = resources;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public List<String> getRoles() {
        return roles;
    }

    public List<String> getResources() {
        return resources;
    }
}